package com.wn.class30.mapper;

import com.wn.class30.entity.Cupon;
import com.wn.class30.entity.CuponExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CuponDao {
    long countByExample(CuponExample example);

    int deleteByExample(CuponExample example);

    int deleteByPrimaryKey(Integer cuponId);

    int insert(Cupon record);

    int insertSelective(Cupon record);

    List<Cupon> selectByExample(CuponExample example);

    Cupon selectByPrimaryKey(Integer cuponId);

    int updateByExampleSelective(@Param("record") Cupon record, @Param("example") CuponExample example);

    int updateByExample(@Param("record") Cupon record, @Param("example") CuponExample example);

    int updateByPrimaryKeySelective(Cupon record);

    int updateByPrimaryKey(Cupon record);
}